package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 种子量对象 seed_amount
 * 
 * @author ruoyi
 * @date 2021-07-07
 */
public class SeedAmount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号，自动编号，主码 */
    private Long seedAmountId;

    /** 蔬菜类型，外码 */
    @Excel(name = "蔬菜类型，外码")
    private Long cropTypeId;

    /** 种子类型：接穗 | 砧木 */
    @Excel(name = "种子类型：接穗 | 砧木")
    private String seedType;

    /** 品种名称 */
    @Excel(name = "品种名称")
    private String varietyName;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 库存量 */
    @Excel(name = "库存量")
    private Long storageAmount;

    public void setSeedAmountId(Long seedAmountId) 
    {
        this.seedAmountId = seedAmountId;
    }

    public Long getSeedAmountId() 
    {
        return seedAmountId;
    }
    public void setCropTypeId(Long cropTypeId) 
    {
        this.cropTypeId = cropTypeId;
    }

    public Long getCropTypeId() 
    {
        return cropTypeId;
    }
    public void setSeedType(String seedType) 
    {
        this.seedType = seedType;
    }

    public String getSeedType() 
    {
        return seedType;
    }
    public void setVarietyName(String varietyName) 
    {
        this.varietyName = varietyName;
    }

    public String getVarietyName() 
    {
        return varietyName;
    }
    public void setOriginCompany(String originCompany) 
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany() 
    {
        return originCompany;
    }
    public void setStorageAmount(Long storageAmount) 
    {
        this.storageAmount = storageAmount;
    }

    public Long getStorageAmount() 
    {
        return storageAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("seedAmountId", getSeedAmountId())
            .append("cropTypeId", getCropTypeId())
            .append("seedType", getSeedType())
            .append("varietyName", getVarietyName())
            .append("originCompany", getOriginCompany())
            .append("storageAmount", getStorageAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
